@import './header.scss';
@import './footer.scss';
@mixin center ($px:1200px) {
    margin: auto;
    width: $px;
}

.main {
    &-section {
        height: 400px;
        background: url(http://www.huaguoshan.com/Upload/9d109ec5e401652bdcbbf82269aad2ca.jpg) no-repeat scroll center;
        &-recommend {
            box-shadow: -2px 2px 14px;
            @include center();
            float: right;
            margin-right: 28px;
            height: 410px;
            width: 270px;
            border: 1px solid #CCCBC9;
            padding: 5px;
            background: #fff;
            &-choice {
                span {
                    display: inline-block;
                    width: 132.5px;
                    background: #A1A1A1;
                    height: 29px;
                    line-height: 29px;
                    text-align: center;
                    color: #fff;
                    font-size: 13px;
                }
                .choice-style {
                    background-color: #77BE22;
                }
            }
            &-choice-img {
                width: 100%;
                img {
                    width: 100%;
                }
            }
            &-choice-description {
                height: 60px;
                line-height: 30px;
                padding-bottom: 10px;
                border-bottom: 1px dotted #CCCCCC;
            }
            &-choice-price {
                line-height: 44px;
                span {
                    color: #C30000;
                    font-weight: bold;
                    font-size: 20px;
                }
                p {
                    span {
                        color: #E14050;
                        font-size: 16px;
                    }
                    float: right;
                    font-size: 13px;
                    color: #7F7777;
                }
            }
        }
    }
    &-shop {
        background: #F5F1EE;
        height: 1100px;
        padding-top: 42px;
        &-recommend {
            position: relative;
            @include center();
            background: #F0E4D4;
            padding: 15px;
            h3 {
                float: left;
                color: #C17100;
                font-weight: normal;
                font-size: 25px;
            }
            .space-color {
                padding-left: 10px;
                color: #C17100;
                line-height: 45px;
            }
            &-lists {
                height: 450px;
                li {
                    float: left;
                    margin-right: 14px;
                    height: 440px;
                    background: #fff;
                    padding: 7px;
                    width: 260px;
                    img {
                        width: 100%;
                    }
                    .list-shop {
                        .person {
                            float: left;
                            font-size: 12px;
                            padding-top: 7px;
                             :first-child {
                                color: #78C45F;
                            }
                        }
                        .shop {
                            float: right;
                            background-color: #E23F50;
                            color: #fff;
                            height: 26px;
                            padding: 0 5px;
                            padding-bottom: 0;
                            line-height: 26px;
                             :first-child {
                                font-size: 13px;
                            }
                        }
                    }
                    h5 {
                        line-height: 40px;
                        font-size: 15px;
                    }
                     :nth-child(3) {
                        font-size: 13px;
                    }
                     :nth-child(4) {
                        color: #777777;
                        text-decoration: line-through;
                        line-height: 35px;
                    }
                     :nth-child(5) {
                        color: #C20000;
                        font-weight: bold;
                        font-size: 20px;
                    }
                }
            }
            &-server {
                height: 527px;
                position: absolute;
                background: #fff;
                width: 350px;
                right: 0;
                top: 0;
            }
            &-img1 {
                text-align: center;
                border-bottom: 1px dotted #ddd;
            }
        }
        &-category {
            background: #F5F1EE;
            padding-bottom: 10px;
            .shop-special {
                // border: 1px solid red;
                padding-top: 30px;
                @include center(1230px);
                height: 545px;
                &-title {
                    height: 40px;
                    border-bottom: 3px solid #77BE22;
                    .title-left {
                        float: left;
                        color: #FFC501;
                         :first-child {
                            font-size: 30px;
                        }
                         :nth-child(2) {
                            color: #333534;
                            font-size: 20px;
                            font-weight: bold;
                            margin-left: 7px;
                            position: relative;
                            top: -2px;
                        }
                    }
                    .title-right {
                        float: right;
                        color: #787677;
                        font-size: 13px;
                         :last-child {
                            font-size: 33px;
                            position: relative;
                            top: 8px;
                            right: 5px;
                        }
                    }
                }
            }
            ul {
                padding-top: 20px;
                li {
                    background: #fff;
                    position: relative;
                    float: left;
                    border: 1px solid #ccc;
                    margin-right: 18px;
                    .main-section-lists-other {
                        padding: 10px;
                    }
                    .lists-img {
                        width: 287px;
                        img {
                            width: 100%;
                        }
                    }
                    .lists-title {
                        font-weight: bold;
                        font-size: 15px;
                        padding: 18px 0 7px 0;
                        color: #000000;
                    }
                    .lists-description {
                        height: 30px;
                        line-height: 30px;
                        font-size: 13px;
                        color: #151524;
                        border-top: 1px dotted #ccc;
                        border-bottom: 1px dotted #ccc;
                    }
                    .lists-price {
                         :first-child {
                            color: #C20000;
                            font-size: 18px;
                            font-weight: bold;
                            line-height: 55px;
                        }
                         :nth-child(2) {
                            font-size: 14px;
                            margin-left: 9px;
                            color: #777777;
                        }
                         :last-child {
                            font-size: 13px;
                            margin-left: 9px;
                            color: #777777;
                            text-decoration: line-through;
                        }
                    }
                    .lists-shop {
                        height: 40px;
                        .person {
                            float: left;
                            font-size: 12px;
                            padding-top: 7px;
                             :first-child {
                                color: #78C45F;
                            }
                        }
                        .shop {
                            float: right;
                            background-color: #E23F50;
                            color: #fff;
                            height: 26px;
                            padding: 0 5px;
                            padding-bottom: 0;
                            line-height: 26px;
                             :first-child {
                                font-size: 13px;
                            }
                        }
                    }
                    .lists-logo {
                        position: absolute;
                        top: 0;
                        left: 0;
                    }
                }
            }
        }
    }
}